package cn.tedu.charging.order.dao.repository;

import cn.tedu.charging.order.pojo.po.ChargingBillFailPO;
import cn.tedu.charging.order.pojo.po.ChargingBillSuccessPO;

public interface OrderRepository {
    void updateOrderStatusFromProcess2ExceptionEnd(String orderNo);

    void saveSuccessOrder(ChargingBillSuccessPO chargingBillSuccessPO);

    void saveFailOrder(ChargingBillFailPO chargingBillFailPO);

    ChargingBillSuccessPO getSuccessOrder(String orderNo);

    ChargingBillFailPO getFailOrder(String orderNo);

    void updateOrderDeviceInfo(String orderNo,int gunId);
}
